package com.eastfair.venueservice.dto;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.venueservice.enumeration.WorkOrderServiceItemDisposalModeEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 工单服务项
 * </p>
 *
 * @author linan
 * @since 2022-10-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "WorkOrderServiceItemPageQuery", description = "工单服务项")
public class WorkOrderServiceItemPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 工单编号
     */
    @ApiModelProperty(value = "工单编号")
    private String workOrderNo;
    /**
     * 服务项id
     */
    @ApiModelProperty(value = "服务项id")
    private Long serviceItemId;
    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String serviceName;
    /**
     * 服务分类id
     */
    @ApiModelProperty(value = "服务分类id")
    private Long serviceCategoryId;
    /**
     * 服务分类名称
     */
    @ApiModelProperty(value = "服务分类名称")
    private String serviceCategoryName;
    /**
     * 服务规格id
     */
    @ApiModelProperty(value = "服务规格id")
    private Long serviceSpecsId;
    /**
     * 服务规格名称
     */
    @ApiModelProperty(value = "服务规格名称")
    private String serviceSpecsName;
    /**
     * 服务图片
     */
    @ApiModelProperty(value = "服务图片")
    private String picUrl;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private BigDecimal num;
    /**
     * 处理方式 #{CONSTRUCTION_AND_INSTALLATION:施工安装;EQUIPMENT_WARRANTY:设备保修;SITE_ACCEPTANCE:场地验收;OVERTIME_ON_SITE:现场加班;OTHER:其他}
     */
    @ApiModelProperty(value = "处理方式 #{CONSTRUCTION_AND_INSTALLATION:施工安装;EQUIPMENT_WARRANTY:设备保修;SITE_ACCEPTANCE:场地验收;OVERTIME_ON_SITE:现场加班;OTHER:其他}")
    private WorkOrderServiceItemDisposalModeEnum disposalMode;
    /**
     * 服务单价
     */
    @ApiModelProperty(value = "服务单价")
    private BigDecimal unitPrice;
    /**
     * 服务金额
     */
    @ApiModelProperty(value = "服务金额")
    private BigDecimal subtotalServicePrice;

}
